Run-DMA
نویسندگان
چکیده
Copying data from devices into main memory is a computationally-trivial, yet time-intensive, task. In order to free the CPU to perform more interesting work, computers use direct memory access (DMA) engines — a special-purpose piece of hardware — to transfer data into and out of main memory. We show that the ability to chain together such memory transfers, as provided by commodity hardware, is sufficient to perform arbitrary computation. Further, when hardware peripherals can be accessed via memory-mapped I/O, they are accessible to “DMA programs.” To demonstrate malicious behavior, we build a proof-of-concept DMA rootkit that modifies kernel objects in memory to perform privilege escalation for target processes.
منابع مشابه
Worst-Case Timing Analysis of Cycle-Stealing DMA I/O Tasks
A DMA controller that operates in the cycle-stealing mode is allowed to transfer data only when the CPU does not need the system bus. Thus, the execution time of a cycle-stealing DMA I/O task depends on the sequence of instructions executing concurrently with it. This paper describes a method for bounding the worst-case execution time (WCET) of a cycle-stealing DMA I/O task. We rst deene the ta...
متن کاملBounding DMA Interference on Hard-Real-Time Embedded Systems
A DMA controller that operates in the cycle-stealing mode transfers data by stealing bus cycles from the CPU. The concurrent contention for the I/O bus by a CPU task and a cycle-stealing DMA I/O task retards their progress and extends their execution times. In this paper we first describe a method for bounding the worst-case execution time (WCET) of a CPU task when cycle-stealing DMA I/O is pre...
متن کاملMolecular steps of neutral sulfuric acid and dimethylamine nucleation in CLOUD
We have run a set of experiments in the CLOUD chamber at CERN, Switzerland, studying the effect of dimethylamine (DMA) on sulfuric acid (SA)-water nucleation using a nitrate based Chemical Ionization Atmospheric Pressure ionization Time-Of-Flight Mass Spectrometer (CI-APiTOF). Experiment was designed to produce neutral high m/z SA-DMA clusters in close to atmospherically relevant conditions to ...
متن کاملOptimal Parameters of Double Moving Average Control Chart
The objective of this paper is to present explicit analytical formulas for evaluating important characteristics of Double Moving Average control chart (DMA) for Poisson distribution. The most popular characteristics of a control chart are Average Run Length ( 0 ARL ) the mean of observations that are taken before a system is signaled to be out-of control when it is actually still incontrol, and...
متن کاملPredicting the Worst-Case Execution Time of the Concurrent Execution of Instructions and Cycle-Stealing DMA I/O Operations
This paper describes an eecient algorithm which gives a bound on the worst-case execution times of the concurrent execution of CPU instructions and cycle-stealing DMA I/O operations. Simulations of several programs were conducted to evaluate this algorithm. Compared with the traditional pessimistic approach, the bound on the worst-case execution time produced by the algorithm is signiicantly ti...
متن کامل